﻿<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="urn:schemas-microsoft-com:office:spreadsheet"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
                xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
                xmlns:sp="http://schemas.microsoft.com/sharepoint/"
                exclude-result-prefixes="msxsl">
  <xsl:output method="xml" indent="yes"/>

  <xsl:include href="Onglet_Feature.xslt"/>
  <xsl:include href="Onglet_Field.xslt"/>
  <xsl:include href="Onglet_ContentType.xslt"/>
  <xsl:include href="Onglet_ListDef.xslt"/>
  <xsl:include href="Onglet_EventReceiver.xslt"/>
  <xsl:include href="Onglet_ListInstance.xslt"/>

  <!--
===================================================================================================================
  Point d'entrée
===================================================================================================================
-->
  <xsl:template match="/">

    <xsl:processing-instruction name="mso-application">progid="Excel.Sheet"</xsl:processing-instruction>

    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
     xmlns:o="urn:schemas-microsoft-com:office:office"
     xmlns:x="urn:schemas-microsoft-com:office:excel"
     xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
     xmlns:html="http://www.w3.org/TR/REC-html40">
      <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
        <Version>14.00</Version>
      </DocumentProperties>
      <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
        <AllowPNG/>
      </OfficeDocumentSettings>
      <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"/>
      <Styles>
        <Style ss:ID="Default" ss:Name="Normal">
          <Alignment/>
          <Borders/>
          <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
          <Interior/>
          <NumberFormat/>
          <Protection/>
        </Style>
        <Style ss:ID="headerStyle">
          <Borders>
            <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="2" ss:Color="#95B3D7"/>
          </Borders>
          <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#1F497D" ss:Bold="1"/>
        </Style>
        <Style ss:ID="subHeaderStyle">
          <Borders>
            <Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3" ss:Color="#FF8001"/>
          </Borders>
          <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#FA7D00"/>
        </Style>
        <Style ss:ID="mainLine" ss:Name="Neutre">
          <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#9C6500"/>
          <Interior ss:Color="#FFEB9C" ss:Pattern="Solid"/>
        </Style>
      </Styles>

      <!--Onglet des features-->
      <xsl:call-template name="Onglet_Feature"/>
      
      <!--Onglet des colonnes de site-->
      <xsl:call-template name="Onglet_Fields"/>

      <!--Onglet des types de contenu-->
      <xsl:call-template name="Onglet_ContentType"/>

      <!--Onglet des Définition de liste-->
      <xsl:call-template name="Onglet_ListDef"/>

      <!--Onglet des Récepteurs d'évènement-->
      <xsl:call-template name="Onglet_EventReceiver"/>

      <!--Onglet des Instance de liste-->
      <xsl:call-template name="Onglet_ListInstance"/>

    </Workbook>
  </xsl:template>

</xsl:stylesheet>
